# 内网IPv4地址测试
# 预期结果：应报警，识别为内网IPv4地址

# 内网IPv4地址
internal_ipv4 = "10.0.0.1"  # 常见的内网IP地址

# 使用该IP的配置
config = {
    "router_ip": internal_ipv4,
    "description": "内网路由器地址",
    "gateway": True,
    "subnet_mask": "255.0.0.0"
}

# 模拟使用该IP的代码
def access_router(ip):
    print(f"正在访问内网路由器: {ip}")
    # 模拟路由器访问代码
    return {"status": "connected", "device": "Router"}

print(f"内网IPv4地址: {internal_ipv4}")
print(f"配置信息: {config}")
result = access_router(internal_ipv4)
print(f"访问结果: {result}")